<?php

namespace home\controllers;

class TestController extends \Controller {
	function indexAction() {
		echo 'this is action index';
	}
	function taskqueueAction() {
		require SYSTEM_PATH . '/TaskQueue.php';
		
		var_dump ( \TaskQueue::addBackGroundTask ( 'send_mail', array (
				'mail' => $this->input->get ( 'x' ) . '@qq.com' 
		) ) );
	}
}

 